/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 黎鹤舞
 * Date: 2023-11-15
 * Time: 11:47
 */
class Base1 {

    //Base类的无参构造方法
    Base1() {
        System.out.print("Base");
    }
}

public class Alpha {

    public static void main( String[] args ) {
        //实例化Alpha对象
        new Alpha();//1
        //调用父类无参的构造方法
        new Base1();//2
    }
}